/*
 * (C) Copyright 2016 Ymatou (http://www.ymatou.com/).
 * 
 * All rights reserved.
 */
package com.ymatou.iapi.trading.operate.parameter.enums;

/**
 * 优惠活动类型枚举。与.NET版本保持完全一致
 * 
 * @author tuwenjie 2016年5月7日 下午5:58:51
 *
 */
public enum PromotionTypeEnum {

	// 满件减
	ReduceIfCountEnough(1),

	// 满件折
	DiscountIfCountEnough(2),

	// 满金额减
	ReduceIfAmountEnough(3),

	// 满金额折
	DiscountIfAmountEnough(4),
   
	// 第二件半价
	HalfIfCountEnough(5),

	;

	private int code;

	private PromotionTypeEnum(int code) {
		this.code = code;
	}

	public int getCode() {
		return code;
	}

}
